home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / netmail / yep13.zip / YEP.CFG < prev    next >
Text File  |  1996-02-13  |  4KB  |  101 lines

  1. ; Yarn Editor Pre/Post Processor version 1.3 (YEP) config file
  2.  
  3. ; if this makes no sense to you email as544@torfree.net for help...
  4.  
  5. ; editor codes: (in your Yarn CONFIG should be editor=yep.exe only)
  6. ; $L - line number (set to second line after message header if used)
  7. ; $l - (set line number to first line after quoted message if used)
  8. ; $F - Filename passed by Yarn...
  9.  
  10. ; This line defines your text editor, and must be in double quotes.
  11. ; In this example the editor accepts the -# parameter for line number.
  12.  
  13. Editor = "C:\UTIL\FTE.EXE -#$L $F"
  14.  
  15. ; This value is added to (or subtracted from, if a negative number) the
  16. ; line number passed to the editor above; for fine tuning preference.
  17.  
  18. CursorAdjust = "0"
  19.  
  20. ; Strip all the unused header lines? "No"/"Yes"
  21.  
  22. CleanHeader = "No"
  23.  
  24. ; display the progress dots when entering/exiting Yep? "Yes"/"No"
  25.  
  26. ShowDots = "Yes"
  27.  
  28. ;-----------------------------------------------------------------------
  29. [Header]
  30. ;-----------------------------------------------------------------------
  31. ; all non-blank, non-comment, lines in this section between the [header]
  32. ; and [header end] tags are appended on the end of the message header.
  33. ; (only the first 50 are used - if that's not enough email me...).
  34. ; The following are included as EXAMPLES only. Please delete and customize!
  35.  
  36. X-PGP-Fingerprint: A4 3B D5 A9 C2 26 F2 34  FD 85 A5 8E 15 09 79 6B
  37. X-Newsreader: Yarn for OS/2 v0.89
  38.  
  39. ; these next several lines demostrate using conditional tags for headers.
  40. ; notice how, after the first line, the "setflag" is used: because
  41. ; otherwise if a previous condition is met then the global flag (see
  42. ; section 5 of yep.doc) will be set to "true" and further conditions
  43. ; will be ignored until the global flag is set to false.
  44.  
  45. {IfTo:Tim Middleton}X-Narcissism: Sending mail to myself *again*?!
  46. {SetFlag:false}{IfDate:Fri}X-TGIF: The weekend is here at last! Woohoo!
  47. {SetFlag:false}{IfNG:sex}X-Disclaimer: I'm asking for a friend, honest.
  48.  
  49. ; the next example shows how you can use substitution tags in a header.
  50. ; the substitution is defined below and uses an external program.
  51.  
  52. X-Moon-Phase: {moond}
  53.  
  54. ; the next example shows how you can use "Exec" and "ImpL" tags to
  55. ; import a specific line (3) of text from the output of another program.
  56. ; For more info on this example see "ImpL" in section 3 of yep.doc:
  57.  
  58. ; X-{exec:go -ut >utmp}{impL:3:utmp}
  59.  
  60.  
  61. [End Header]
  62.  
  63.  
  64. ;-----------------------------------------------------------------------
  65. [Substitutions]
  66. ;-----------------------------------------------------------------------
  67. ; up to 100 non-blank, non-comment lines containing substitutions to be
  68. ; made when scanning messages before and after calling the editor,
  69. ; in this format: "original text"::"replacement text". This can be
  70. ; used to create macros or customize tags for use for mailing lists
  71. ; (using the {IMP:} tag), etc. Use your imagination. All substitutions
  72. ; and tags are NEVER case sensitive. Following are examples:
  73.  
  74. ; this makes a tag which will import my PGP key
  75. "{pgpkey}"::"{IMPF:C:\pgp\tim.key}"
  76.  
  77. ; this creates a "macro" which runs a program to get a quote and import it
  78. ; the "grbquote" program is provided in the YX-11.ZIP package.
  79. "{quote}"::"{Exec:grbquote.exe /s >qtmp}{ImpF:qtmp}"
  80.  
  81. ; this imports a random SIG with the root name "my-sigs" (ie. my-sig.1, 
  82. ; my-sig.2, my-sig.3, and so on, are chosen from randomly. Note full path.)
  83. "{rsig}"::"{RndF:c:\osu\yarn\my-sigs}"
  84.                                                           
  85. ; I must cover up my persistant stupidity!
  86. "thier"::"their"
  87. "wierd"::"weird"
  88.  
  89. ; a tag which can be entered in an email To: or Cc: field to email
  90. ; to a bunch of folks...
  91. "{l1}"::"as544@torfree.net,ab651@freenet.durham.org,tm@io.org"
  92.  
  93. ; another example using a program in the YX-11.ZIP package. This tag
  94. ; then will be replaced by the moon's age and used in a Header example.
  95. "{moond}"::"{Exec:moondays /n >mtmp}{ImpF:mtmp}"
  96.  
  97.  
  98. [End Substitutions]
  99.  
  100. ; ok?
  101.